package com.ateam.dao;

import java.util.List;

import com.ateam.pojo.Applications;

/** 
* @author WuYuan
* 
*/
public interface ApplicationsDao {
	public int addApplication(Applications application)throws Exception;
	public int updateApplication(int applicationid)throws Exception;
	public int addUserApplication(int applicant, int approver, int applicationid)throws Exception;
	public List<Applications> getApplicationsByApprover(int approver)throws Exception;//查审批者接收到的申请
	public List<Applications> getApplicationsByApplicant(int applicant)throws Exception;//查申请者的所有申请
}
